package com.cskaoyan.bean;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 * @author stone
 * @date 2022/05/06 00:56
 */
@Data
public class User2 {
    @Length(min = 6,message = "username min length is 6")
    String username;
    @Length(min = 6)
    String password;
}
